package shejimoshi.jianzaozhemoshi;
// 产品类
public class Car {
    private String engine;
    private String tires;
    private String color;

    // Setter方法
    public void setEngine(String engine){
        this.engine = engine;
    }

    public void setTires(String tires){
        this.tires = tires;
    }

    public void setColor(String color){
        this.color = color;
    }


    // Getter方法
    public String getEngine() {
        return engine;
    }
    public String getTires() {
        return tires;
    }
    public String getColor() {
        return color;
    }
}
